function[hemiData_raw] = load_surf_file(path_origdata, sid, hemi)

%   lh.100803_HP66EU_bld014_rest_reorient_skip_faln_mc_g1000000000_bpss_resid_fsaverage6_sm6_fsaverage4
Files_Hemi = dir([path_origdata '/' sid '/surf/' hemi '.*sm6_fs4.nii.gz']);

fprintf(Files_Hemi(1).name);
fprintf('\n');

filename_bold = [Files_Hemi(1).name];
fullfilename_bold = [path_origdata '/'  sid '/surf/' filename_bold];

hemi_hdr = MRIread(fullfilename_bold);
hemiData_raw = reshape(hemi_hdr.vol,[size(hemi_hdr.vol,1)*size(hemi_hdr.vol,2)*size(hemi_hdr.vol,3), size(hemi_hdr.vol,4)]);
